#ifndef __KSVGEDITOR_UI_KZOOMMODESTRATEGY_H_
#define __KSVGEDITOR_UI_KZOOMMODESTRATEGY_H_

#include "kinteractionmodestrategy.h"

class KZoomModeStrategy : public KInteractionModeStrategy
{
public:
    explicit KZoomModeStrategy();
    ~KZoomModeStrategy() override;

    void handleMousePress(const QPointF& scenePos, QMouseEvent* event) override;
    void handleMouseMove(const QPointF& scenePos, QMouseEvent* event) override;
    void handleMouseRelease(const QPointF& scenePos, QMouseEvent* event) override;
    void handleWheelEvent(QWheelEvent* event) override;
    void setZoomFactor(qreal factor);

private:
    qreal m_zoomFactor = 1.05;

};

#endif //__KSVGEDITOR_UI_KZOOMINMODESTRATEGY_H_